/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2023-12-10
 * Time: 18:14
 */
public class Test3 {
    public static void getCustomerInfo() {

        try {
            int[] array = null;
            System.out.println(array.length);
            // do something that may cause an Exception

        } /*catch (java.io.FileNotFoundException ex) {

            System.out.print("FileNotFoundException!");

        } catch (java.io.IOException ex) {

            System.out.print("IOException!");

        }*/ catch (java.lang.Exception ex) {

            System.out.print("Exception!");

        }

    }

    public static void main(String[] args) {
        getCustomerInfo();
    }
}
